<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{Title} (Add) </title>
<link rel="stylesheet" href="../../css/mem_main.css?t={ctime}" type="text/css">
<script Language="JavaScript" type="text/javascript" src="../../inc/ajax_begin.js?t={ctime}"></script>
<script Language="JavaScript">
<!--
function finalcheck(){
	with(document.beMemberFrm){
		submit();
	}
}

function ChangeSpGTag(isChecked, strSiteKey){
	document.getElementById("SpGroup_"+strSiteKey).disabled = isChecked?false:true;
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">

<form name="beMemberFrm" method="Post" action="index.php">
<input type="hidden" name="op" value="Insert">
<table width="770" border="0" cellspacing="0" cellpadding="0" class="cmti">
  <tr> 
    <td>{Title}: {_Search} -- 
      <input type="button" value="{_Add}" class="zabutton" onClick="location.href='index.php?op=Add'">
      <input type="button" value="{_List}" class="zabutton" onClick="location.href='index.php?op=Lists'">
      <input type="button" value="{_Search}" class="zabutton" onClick="location.href='index.php?op=Search'">
    </td>
  </tr>
</table>
<div class="ctabdv"> 
  <table width="500" border="0" cellspacing="1" cellpadding="0">
    <tr class="clef"> 
      <td class="ctigaed" width="120">{Content_1}&nbsp;</td>
      <td><textarea name="data[Content_1_x]" rows="5" cols="40" id="PZhTw"></textarea> <input type="button" onclick="UTF8_zhTW_To_zhCN('PZhTw', 'PZhCn')" value="{toZhCn}"></td>
    </tr>
	<tr class="clef"> 
      <td class="ctigaed" width="120">{Content_3}&nbsp;</td>
      <td><textarea name="data[Content_3_x]" rows="5" cols="40" id="PZhCn"></textarea> <input type="button" onclick="UTF8_zhCN_To_zhTW('PZhCn', 'PZhTw')" value="{toZhTw}"></td>
    </tr>
    <tr class="clef"> 
      <td class="ctigaed" width="120">{Content_2}&nbsp;</td>
      <td><textarea name="data[Content_2_x]" rows="5" cols="40"></textarea></td>
    </tr>
    <tr class="clef"> 
      <td class="ctigaed">{Sites}&nbsp;</td>
      <td> 
		<!-- @ Site Start @ //--><input type="checkbox" name="data[Sites_x][{ShowKey}]" value="{ShowSiteID}" onclick="ChangeSpGTag(this.checked, '{ShowSiteID}')">{ShowSiteName} <br /><!-- @ Site End @ //-->
      </td>
    </tr>
    <tr class="clef"> 
      <td class="ctigaed">{isPopup}&nbsp;</td>
      <td> 
			<input type="radio" name="data[isPopup_n]" value="0" checked>{_Not}<!--否//-->
			<input type="radio" name="data[isPopup_n]" value="1">{_Yes}<!--是//-->
      </td>
    </tr>
    <tr class="clef"> 
      <td class="ctigaed">{isOnline}&nbsp;</td>
      <td> 
			<input type="radio" name="data[isOnline_n]" value="0">{_Not}<!--否//-->
			<input type="radio" name="data[isOnline_n]" value="1" checked>{_Yes}<!--是//-->
      </td>
    </tr>
<!-- BOF@isHidden //-->
    <tr class="clef"> 
      <td class="ctigaed">{isHidden}&nbsp;</td>
      <td> 
			<input type="radio" name="data[isHidden_n]" value="0">{_Not}<!--否//-->
			<input type="radio" name="data[isHidden_n]" value="1" checked>{_Yes}<!--是//-->
      </td>
    </tr>
<!-- EOF@isHidden //-->
    <tr class="clef"> 
      <td class="ctigaed">{isSystem}&nbsp;</td>
      <td> 
			<input type="radio" name="data[isSystem_n]" value="0" checked>{_Not}<!--否//-->
			<input type="radio" name="data[isSystem_n]" value="1">{_Yes}<!--是//-->
      </td>
    </tr>
    <tr class="clef"> 
      <td class="ctigaed">{OnDate}&nbsp;</td>
      <td> 
			<input type="text" name="data[OnDate_x]" class="zatexted" size="10" maxlength="10" value="{ShowOnDate}">
      </td>
    </tr>
    <tr class="clef"> 
      <td class="ctigaed">{OffDate}&nbsp;</td>
      <td> 
			<input type="text" name="data[OffDate_x]" class="zatexted" size="10" maxlength="10" value="{ShowOffDate}">
      </td>
    </tr>
    <tr class="clef"> 
      <td colspan="2" class="cedfoot"> 
        <input type="button" value="{_Add}" class="zabutton" onclick="finalcheck()">&nbsp;
		<input type="reset" value="{_Reset}" class="zabutton">
      </td>
    </tr>
  </table>
</div>
</form>
</body>
</html>